package com.gu.entity;

import com.alibaba.excel.annotation.ExcelProperty;
import com.fasterxml.jackson.annotation.JsonFormat;

import java.math.BigDecimal;
import java.util.Date;

public class VehicleRefuelingInfo {

    private Integer id;

    @ExcelProperty("昵称")
    private String username;
    @ExcelProperty("车辆名称")
    private String vehiclename;
    @ExcelProperty("加油里程表统计数")
    private Integer drivingmileage;
    @ExcelProperty("燃油标号")
    private String fuelgrade;
    @ExcelProperty("燃油升数")
    private BigDecimal fuelliters;
    @ExcelProperty("燃油单价")
    private BigDecimal fuelunitprice;
    @ExcelProperty("燃油合计金额")
    private BigDecimal fueltotalprice;
    @ExcelProperty("司机姓名")
    private String drivername;
    @ExcelProperty("提交时间")
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss",timezone = "GMT+8")
    private Date submittime;
    @JsonFormat(pattern = "yyyy-MM-dd",timezone = "GMT+8")
    private Date createtimestamp;
    @JsonFormat(pattern = "yyyy-MM-dd",timezone = "GMT+8")
    private Date updatetimestamp;

    @ExcelProperty("填写ID")
    private String inputid;
    // 是否疑似错误标识。0：否，1：是  SUSPECTED_ERROR_FLAG
    private Integer suspectedErrorFlag;

    public Integer getId() {
        return id;
    }

    public void setId(Integer id) {
        this.id = id;
    }

    public String getUsername() {
        return username;
    }

    public void setUsername(String username) {
        this.username = username;
    }

    public String getVehiclename() {
        return vehiclename;
    }

    public void setVehiclename(String vehiclename) {
        this.vehiclename = vehiclename;
    }

    public Integer getDrivingmileage() {
        return drivingmileage;
    }

    public void setDrivingmileage(Integer drivingmileage) {
        this.drivingmileage = drivingmileage;
    }

    public String getFuelgrade() {
        return fuelgrade;
    }

    public void setFuelgrade(String fuelgrade) {
        this.fuelgrade = fuelgrade;
    }

    public BigDecimal getFuelliters() {
        return fuelliters;
    }

    public void setFuelliters(BigDecimal fuelliters) {
        this.fuelliters = fuelliters;
    }

    public BigDecimal getFuelunitprice() {
        return fuelunitprice;
    }

    public void setFuelunitprice(BigDecimal fuelunitprice) {
        this.fuelunitprice = fuelunitprice;
    }

    public BigDecimal getFueltotalprice() {
        return fueltotalprice;
    }

    public void setFueltotalprice(BigDecimal fueltotalprice) {
        this.fueltotalprice = fueltotalprice;
    }

    public String getDrivername() {
        return drivername;
    }

    public void setDrivername(String drivername) {
        this.drivername = drivername;
    }

    public Date getSubmittime() {
        return submittime;
    }

    public void setSubmittime(Date submittime) {
        this.submittime = submittime;
    }

    public Date getCreatetimestamp() {
        return createtimestamp;
    }

    public void setCreatetimestamp(Date createtimestamp) {
        this.createtimestamp = createtimestamp;
    }

    public Date getUpdatetimestamp() {
        return updatetimestamp;
    }

    public void setUpdatetimestamp(Date updatetimestamp) {
        this.updatetimestamp = updatetimestamp;
    }

    public String getInputid() {
        return inputid;
    }

    public void setInputid(String inputid) {
        this.inputid = inputid;
    }

    public Integer getSuspectedErrorFlag() {
        return suspectedErrorFlag;
    }

    public void setSuspectedErrorFlag(Integer suspectedErrorFlag) {
        this.suspectedErrorFlag = suspectedErrorFlag;
    }

    @Override
    public String toString() {
        return "VehicleRefuelingInfo{" +
                "id=" + id +
                ", username='" + username + '\'' +
                ", vehiclename='" + vehiclename + '\'' +
                ", drivingmileage=" + drivingmileage +
                ", fuelgrade='" + fuelgrade + '\'' +
                ", fuelliters=" + fuelliters +
                ", fuelunitprice=" + fuelunitprice +
                ", fueltotalprice=" + fueltotalprice +
                ", drivername='" + drivername + '\'' +
                ", submittime=" + submittime +
                ", createtimestamp=" + createtimestamp +
                ", updatetimestamp=" + updatetimestamp +
                ", inputid='" + inputid + '\'' +
                ", suspectedErrorFlag=" + suspectedErrorFlag +
                '}';
    }
}